Testing C++ Libraries for Conformance to their Specifications

نویسندگان

  • Narasimhan Srinivasan
  • Jian Chen
چکیده

While the object-oriented paradigm offers a greater potential for achieving higher interoperability among software systems as compared to other paradigms, much work needs to be done in assessing the interoperability among object-oriented systems. The work described here aims to address the issue of assessing the interoperability of object-oriented software systems on the basis of the interoperability of the class libraries involved in building such systems. In particular, we consider the compatibility of different implementations of a class library as a special case of the interoperability of class libraries and propose a specification-based testing approach to assess the compatibility of different implementations of object-oriented class libraries within one object-oriented language. Here, we discuss the proposed method and report on our current investigations involving a case study of the C++ Collection class libraries.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Testing Library Specifications by Verifying Conformance Tests

Formal specifications of standard libraries are necessary when statically verifying software that uses those libraries. Library specifications must be both correct, accurately reflecting library behavior, and useful, describing library behavior in sufficient detail to allow static verification of client programs. Specification and verification researchers regularly face the question of whether ...

متن کامل

Conformance Testing with Abstract State Machines

One benefit of executable specifications is that they allow one to test the conformance of implementations to their specifications. We illustrate this on the example of Universal Plug and Play devices. The necessary test sequences are generated automatically from ASM specifications.

متن کامل

Conformance Checking of Components Against Their Non-deterministic Specifications

Conformance checking of a component is a testing method to see if an implementation and its executable specification are behaviorally equivalent relative to any interactions performed on the implementation. Such checking is complicated by the presence of non-determinism in the specification: the specification may permit a set of possible behaviors. We present a new method to automatically deriv...

متن کامل

Checking the Conformance of Java Classes Against Algebraic Specifications

We present and evaluate an approach for the run-time conformance checking of Java classes against property-driven algebraic specifications. Our proposal consists in determining, at run-time, whether the classes subject to analysis behave as required by the specification. The key idea is to reduce the conformance checking problem to the runtime monitoring of contract-annotated classes, a process...

متن کامل

Testing of Concurrent Programs Based on Message Sequence Charts

Most prior work on specification-based testing of concurrent programs have postulated an equivalence relation between specifications and programs. However, the equivalence relation, which requires a specification and a program to encompass the same set of synchronization sequences, is not well-suited for testing concurrent programs against partial and nondeterministic specifications. In this pa...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1996